package com.addplus.game_netty.connect;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author wlb
 * @version V1.0
 * @date 2019-03-15 下午1:11
 * @description TODO
 */
@Data
@Component
@ConfigurationProperties(prefix = "netty")
public class NettyAccountConfig {
    private int port;

    private int bossThread;

    private int workerThread;

    private boolean keepalive;

    private int backlog;
}
